package domain;

import java.util.Date;

public class Archive {
    private Integer id;

    private String archiveName;

    private String archiveNum;

    private Integer haschild;

    private String operatingCompany;

    private Date operatingTime;

    private String operator;

    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getArchiveName() {
        return archiveName;
    }

    public void setArchiveName(String archiveName) {
        this.archiveName = archiveName;
    }

    public String getArchiveNum() {
        return archiveNum;
    }

    public void setArchiveNum(String archiveNum) {
        this.archiveNum = archiveNum;
    }

    public Integer getHaschild() {
        return haschild;
    }

    public void setHaschild(Integer haschild) {
        this.haschild = haschild;
    }

    public String getOperatingCompany() {
        return operatingCompany;
    }

    public void setOperatingCompany(String operatingCompany) {
        this.operatingCompany = operatingCompany;
    }

    public Date getOperatingTime() {
        return operatingTime;
    }

    public void setOperatingTime(Date operatingTime) {
        this.operatingTime = operatingTime;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", archiveName=").append(archiveName);
        sb.append(", archiveNum=").append(archiveNum);
        sb.append(", haschild=").append(haschild);
        sb.append(", operatingCompany=").append(operatingCompany);
        sb.append(", operatingTime=").append(operatingTime);
        sb.append(", operator=").append(operator);
        sb.append(", remark=").append(remark);
        sb.append("]");
        return sb.toString();
    }
}